export interface IResponse{
    resultCode:number,
    resultInfo:any
}

/**
 * 商品
 */
export interface IGoods{
    id: number
    shop: string
    picture: string
    product: string
    price: number
    oldprice: number
    putaway: number
    detail: string
    categoryname: string
    categoryId?: number
    category_id?:number
    list?:Array<string>

}
/**
 * 轮播
 */
 export interface IBanner{
    id:number
    url:string
    content:string
}

/**
 * 商品分类
 */
 export interface ICategory{
    id:number
    name:string
    text:string
}

/**
 * 购物车商品
 */
export interface ICartGoods{
    id:number,
    product:string // 商品名称
    price:number // 价格
    picture:string //图片地址
    num:number //数量
    state:boolean //状态
    categoryname:string//分类
}

/**
 * 用户地址
 */
export interface IAddress{
    addressDetail:string
    areaCode:number
    city:string
    country:string
    county:string
    isDefault:boolean
    name:string
    postalCode:string
    province:string
    tel:string
    address:string
}